package com.smartlifev30.baiwei;

/**
 * Created by tys on 2018/8/12.
 */

public class Config {
    private static final Config ourInstance = new Config();

    public static Config getInstance() {
        return ourInstance;
    }


    private Config() {
    }

    /**
     * 用户名
     */
    private String userName;

    /**
     * 服务器token
     */
    private String remoteToken;

    /**
     * 0:外网登录网关
     * 1:内网登录网关
     */
    private int netType;

    /**
     * 网关token
     */
    private String gatewayToken;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getRemoteToken() {
        return remoteToken;
    }

    public void setRemoteToken(String remoteToken) {
        this.remoteToken = remoteToken;
    }

    public void setNetType(int type) {
        this.netType = type;
    }

    public int getNetType() {
        return netType;
    }

    public String getGatewayToken() {
        return gatewayToken;
    }

    public void setGatewayToken(String gatewayToken) {
        this.gatewayToken = gatewayToken;
    }
}
